<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="/layui/css/layui.css">

</head>
<body>
    <table class="layui-table">
        <colgroup>
          <col width="150">
          <col>
        </colgroup>
        <thead>
          <tr>
            <th>名称</th>
            <th>描述</th>
          </tr> 
        </thead>
        <tbody>
          <tr>
            <td>ID</td>
            <td>{{id}}</td>
          </tr>
          <tr>
            <td>用户名</td>
            <td>{{username}}</td>
          </tr>
          <tr>
            <td>爱好</td>
            <td>{{hobby}}</td>
          </tr>
          <tr>
            <td>头像</td>
            <td><img src="{{icon}}" alt=""></td>
          </tr>
          <tr>
            <td>相册</td>
            
            <td>
               {{each photos}}
                <img src="{{$value.path}}" alt="">
               {{/each}}
            </td>
            
          </tr>
          <tr>
              <td>描述</td>
              <td>{{@ descript}}</td>
          </tr>

        </tbody>
      </table>
</body>
</html>